Skip to content

Conversation

@joshka-oai
Copy link
Collaborator

@joshka-oai joshka-oai commented Jan 10, 2026

Add a narrative doc and inline rustdoc explaining how ChatComposer
and PasteBurst compose into a single state machine on terminals that
lack reliable bracketed paste (notably Windows).

This documents the key states, invariants, and integration points
(handle_input_basic, handle_non_ascii_char, tick-driven flush) so
future changes are easier to reason about.

@joshka-oai joshka-oai force-pushed the joshka/document-paste-burst branch 2 times, most recently from 4f66a92 to 3888ef6 Compare January 12, 2026 20:50
@joshka-oai joshka-oai marked this pull request as draft January 12, 2026 21:19
@joshka-oai joshka-oai force-pushed the joshka/document-paste-burst branch 12 times, most recently from 8a6bc81 to 8cf458a Compare January 12, 2026 23:36
Add a narrative doc and inline rustdoc explaining how `ChatComposer`
and `PasteBurst` compose into a single state machine on terminals that
lack reliable bracketed paste (notably Windows).

This documents the key states, invariants, and integration points
(`handle_input_basic`, `handle_non_ascii_char`, tick-driven flush) so
future changes are easier to reason about.
@joshka-oai joshka-oai force-pushed the joshka/document-paste-burst branch from 8cf458a to 503a4f0 Compare January 12, 2026 23:45
@joshka-oai joshka-oai marked this pull request as ready for review January 12, 2026 23:49
@joshka-oai joshka-oai changed the title fix(tui): document and harden paste-burst state machine fix(tui): document paste-burst state machine Jan 13, 2026
@joshka-oai joshka-oai merged commit 58e8f75 into main Jan 13, 2026
30 of 32 checks passed
@joshka-oai joshka-oai deleted the joshka/document-paste-burst branch January 13, 2026 19:48
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants